package com.sp.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 管理员视图实体
 *
 * @author tong
 */
@Data
@NoArgsConstructor
public class EmployeeVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String username;

    private String name;

    private String sex;

    private Integer age;

    private String phone;

    private List<EmployeeRoleVO> roles;

    private LocalDateTime createTime;

    private Integer createEmployee;

    private String createEmployeeName;

    private LocalDateTime updateTime;

    private Integer updateEmployee;

    private String updateEmployeeName;

    private String token;

    private String refreshToken;

}
